package com.flower.response;

/**
 * 错误结果
 */
public class ErrorResult<T> extends Result<T> {
	private static final long serialVersionUID = -3650134247254307280L;
	private String status = ERROR;
	/**
	 * 错误原因
	 * @param target
	 */
	public ErrorResult(String target) {
		setTarget(target);
	}
	 /**
	  * 错误原因+弹窗提示
	  * @param target
	  * @param message
	  */
	public ErrorResult(String target,String message) {
		setTarget(target);
		setMessage(message);
	}
	/**
	 * 错误原因+弹窗提示+跳转标记
	 * @param target
	 * @param message
	 * @param jump
	 */
	public ErrorResult(String target,String message,String jump) {
		setTarget(target);
		setMessage(message);
		setJump(jump);
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	
}
